<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        a
        { display: block;
          width: 50px;
          height: 100px;
          color: midnightblue;
          background-color: linen;
         }
         a
         {text-decoration: none;

         }
         a:hover {
            color: orangered;
            background-color: cornsilk;
         }
         



    </style>

</head>
<body>
    <a href="#">电器</a>
    <a href="#">手机</a>
    <a href="#">家居</a>
    <a href="#">女鞋</a>
    <a href="#">男装</a>
</body>
</html>